
public class Demo {

	public static void main(String[] args) {
		Employee e = new Employee();
		Manager m = new Manager();
		e.addObserver(m); //register for observing
		m.update(e,1399);
	}

}
